<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>

<html>
<head>
	<!--  <link rel="stylesheet" type="text/css" href="$springMacroRequestContext.getContextPath()#springTheme('css')"/>-->
	<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
	<title>User</title>
</head>
<body>
	<span style="float: right">
		<a href="?locale=en">en</a> |
		<a href="?locale=fr">fr</a>
	</span>
	
	<span style="float: left">
	    <a href="?theme=default">def</a> | 
	    <a href="?theme=black">blk</a> | 
	    <a href="?theme=blue">blu</a>
	</span>
	
	<form action="" method="POST">
		
		<spring:message code="username"/>
		<spring:bind path="command.username"/>
		<input type="text" name="$status.expression" value="$!status.value"/>
		<label>$!{status.errorMessage}</label>
		<br></br>
		
		<spring:message code="firstname"/>
		<spring:bind path="command.firstname"/>
		<input type="text" name="$status.expression" value="$!status.value"/>
		<label>$!{status.errorMessage}</label>
		<br></br>
		
		<spring:message code="lastname"/>
		<spring:bind path="command.lastname"/>
		<input type="text" name="$status.expression" value="$!status.value"/>
		<label>$!{status.errorMessage}</label>
		<br></br>
		
		<!-- Permis via le filtre HiddenHttpMethodFilter -->
		<input type="hidden" name="_method" value="POST"/>
		
		<input type="submit" value="envoyer"/>
	</form>
</body>
</html>